package org.soulraven.games.memory.model;

public class Card {

	private int number;
	private boolean hidden;
	private boolean selectable;

	public Card(final int number) {
		super();
		this.number = number;
		this.hidden = Boolean.FALSE;
		this.selectable = Boolean.TRUE;
	}

	/**
	 * @return the hidden
	 */
	public boolean isHidden() {
		return hidden;
	}

	/**
	 * @param hidden the hidden to set
	 */
	public void setHidden(final boolean hidden) {
		this.hidden = hidden;
	}

	/**
	 * @return the number
	 */
	public int getNumber() {
		return number;
	}

	/**
	 * @return the selectable
	 */
	public boolean isSelectable() {
		return selectable;
	}

	/**
	 * @param selectable the selectable to set
	 */
	public void setSelectable(final boolean selectable) {
		this.selectable = selectable;
	}

	@Override
	public String toString() {
		return "Number: " + number;
	}
}
